<?
error_reporting(E_ALL & ~E_NOTICE);
//error_reporting(E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR);
if (!defined('PATH_SEPARATOR')) {
    define('PATH_SEPARATOR', stristr(PHP_OS, 'win') ? ':' : ';');
}
$ps = PATH_SEPARATOR;
ini_set('include_path', 
	"./{$ps}../../core2/lib{$ps}../application{$ps}/usr/share/smarty{$ps}/usr/share/php/Smarty{$ps}" 
	. ini_get('include_path')
);

$class_cache=array();
$options  = parse_ini_file('../application/include/config.php', true);
require_once "../../core2/include/functions.php";
require_once "../../core2/Site.php";
set_error_handler("myErrorHandler");
?>